package com.aps.page;

/**
 * @author liaoguangan
 * @description <>
 * @date 2018/4/6 16:12
 */
public enum ConditionType {

    GT(1, ">"),
    EQ(2, "="),
    LT(3, "<"),
    GEQ(4, ">="),
    LEQ(5, "<="),
    LIKE(6, "like"),
    BETWEEN(7, "between");

    private Integer code;

    private String desc;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    ConditionType(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
